package com.lottery.system.controller.param;

import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.io.Serializable;

/**
 * @author: xiaoxie
 * create: 2024-09-09 10:53
 * @BelongsProject: lottery-system
 * @BelongsPackage: com.lottery.system.controller.param
 * description: 创建活动人员列表的参数
 */
@Data
public class CreateUserActivityParam implements Serializable {
    /**
     * 人员id
     */
    @NotNull(message = "人员id不能为空!")
    private Long userId;
    /**
     *  人员名称
     */
    @NotBlank(message = "人员名称不能为空!")
    private String userName;
}
